<template>
	<view class="profit-wrap page-bg content-30">
		<view class="tpl-success">
			<image class="success-icon" src="../../static/common/icon_12.png" mode=""></image>
			<view class="success-title">余额充值成功</view>
			<view class="desc">方便您在平台中轻松使用哦</view>
			<view class="success-info">感谢您的信任!</view>
		</view>
		<view class="line-info-wrap">
			<view class="line-info">
				<view class="line-info__title">充值金额</view>
				<view class="line-info__con yuan theme">{{reChargeInfo.amount | formatMoney}}</view>
			</view>
			<!-- <view class="line-info">
				<view class="line-info__title">奖励抵扣豆</view>
				<view class="line-info__con">500个</view>
			</view> -->
			<view class="line-info">
				<view class="line-info__title">充值方式</view>
				<view class="line-info__con">{{reChargeInfo.payType}}</view>
			</view>
		</view>
		<view class="circular-submit" @click="link('/pages/mine/profit')">确定</view>
	</view>
</template>

<script>
	import common from '../../utils/common.js'
	export default {
		data() {
			return{
				reChargeInfo: {}
			}
		},
		
		onLoad() {
			this.reChargeInfo = common.getStorage('reChargeInfo') || {}
		},
		
		methods:{
			link(url) {
				this.$link(url)
			}
		}
		
	}
</script>

<style scoped lang="less">
	@import url('../../app.less');
	
	.line-info-wrap{
		margin-top: 50rpx;
		.theme{
			color: @theme-color;
		}
	}
	.circular-submit{
		margin-top: 50rpx;
	}
</style>
